package alo;

/**
 * @ClassName t13
 * @Description TODO
 * @Author Fanxc
 * @DATE 2021/4/21 10:37
 * @Version 1.0
 */
public class t13 {
    public String solve (String str) {
        // write code here
        StringBuilder sb=new StringBuilder();
        for(int i=str.toCharArray().length-1;i>=0;i--){
            sb.append(str.charAt(i));
        }
//        StringBuilder stringBuilder=new StringBuilder(str);
//        stringBuilder.reverse();
//        return stringBuilder.toString();
        return sb.toString();
    }
}
